import request from '@/utils/request'

// 查询报销单详细子列表
export function listReimburseens(query) {
  return request({
    url: '/mis/reimburseens/list',
    method: 'get',
    params: query
  })
}

// 查询报销单详细子详细
export function getReimburseens(id) {
  return request({
    url: '/mis/reimburseens/' + id,
    method: 'get'
  })
}

// 新增报销单详细子
export function addReimburseens(data) {
  return request({
    url: '/mis/reimburseens',
    method: 'post',
    data: data
  })
}

// 修改报销单详细子
export function updateReimburseens(data) {
  return request({
    url: '/mis/reimburseens',
    method: 'put',
    data: data
  })
}

// 删除报销单详细子
export function delReimburseens(id) {
  return request({
    url: '/mis/reimburseens/' + id,
    method: 'delete'
  })
}
